package ;

import scuts.Core;
import scuts.ListMake;
using scuts.Core;
import scuts.F;

class Main
{
  
	static function main () {
   
		trace([1, 2, 3].foldr(F.n(v, a = a + v), 0));
		
		trace(MapArray.mapA([1, 2, 3], F.n(_ +2)));
		
		trace(MapArray.mapA.flip()(F.n(_ +2), [1, 2, 3]));
		
		trace(ListMake.mk(1, 2, 3));
		
		trace(ListMake.mkFastList(1, 2, 3, 4, 5, 6));
    
	}
}
